﻿using AutoMapper;
using MonentExam1013.Api.Write.Appliaction.Commond;
using MonentExam1013.Domain;

namespace MonentExam1013.Api.Write
{
    public class MapperProFile:Profile
    {
        public MapperProFile()
        {
            CreateMap<UserAddCommond, User>();
            CreateMap<RoleAddCommond, Role>();
            CreateMap<PermissionAddCommond, Permission>();
        }
    }
}
